define([
  'vue',
  ELMP.resource('directives/auth.js', 'lib'),
  ELMP.resource('directives/clipboard.js', 'lib'),
  ELMP.resource('directives/waves.js', 'lib')
], function () {
  'use strict'
  const params = Array.from(arguments)
  const vue = params.splice(0, 1)[0]
  params.forEach(directive => {
    vue.directive(directive.name, directive)
  })
})
